package com.shangjinrong.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shangjinrong.domain.LendReturn;

import java.util.List;
import java.util.Map;

public interface LendReturnService extends IService<LendReturn> {


    List<LendReturn> getByLendId(Long id);

    /**
     * 放款
     *
     * @param lendReturnId 标的还款Id
     * @param userId       用户Id
     * @return 返回表单字符串
     */
    String commitReturn(Long lendReturnId, Long userId);

    void notify(Map<String, Object> paramMap);
}
